package 预习;

public class 打印小时和分钟 {
    public static void main(String[] args) {
        for (int i = 1; i <= 24; i++) {
            for (int j = 1; j < 60; j++) {
                for (int l = 1;l <=60;l++){
                    System.out.println("现在是" + i + "时" + j + "分钟"+l+"秒");
                }
            }
        }
    }
}
